package com.td.module.equipment.convert.waterpump;

import java.util.*;

import com.td.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.td.module.equipment.controller.admin.waterpump.vo.*;
import com.td.module.equipment.dal.dataobject.waterpump.PumpDO;

/**
 * 水泵信息 Convert
 *
 * @author 王翔翔
 */
@Mapper
public interface PumpConvert {

    PumpConvert INSTANCE = Mappers.getMapper(PumpConvert.class);

    PumpDO convert(PumpUpdateReqVO bean);

    PumpRespVO convert(PumpDO bean);

    List<PumpRespVO> convertList(List<PumpDO> list);

    PageResult<PumpRespVO> convertPage(PageResult<PumpDO> page);

}
